@on: #D7251A;

.banner {
    position: relative;
    img {
        display: block;
        width: 100%;
    }
    div {
        position: absolute;
        color: #197EBE;
        font-size: 30px;
        line-height: 30px;
        height: 30px;
        width: 140px;
        text-align: center;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }
}
.nav {
    line-height: 40px;
    background: #F4F4F4;
    color: #999;
    font-weight: bold;
    margin-bottom: 30px;
    .on {
        color: #333;
    }
    span {
        margin: 0 8px;
    }
}
.item {
    margin-bottom: 30px;
    margin-right: 26px;
    width: 280px;
    &:nth-child(4n) {
        margin-right: 0;
    }
    cursor: pointer;
    .img {
        width: 280px;
        height: 160px;
        overflow: hidden;
        
        img {
            display: block;
            width: 100%;
            height: 100%;
            transition: all 0.3s;
            &:hover {
                transform: scale(1.05);
            }
        }
    }
    .info {
        background: #fff;
        padding: 12px 14px;
        box-shadow: 0px 2px 21px 0px rgba(127, 127, 127, 0.19);
        .name {
            color: #4A4E56;
            height: 48px;
            font-weight: bold;
            overflow: hidden;
            display: -webkit-box;
            -webkit-box-orient:vertical;
            -webkit-line-clamp:2;
            margin-bottom: 12px;
            &:hover {
                color: @on;
            }
        }
        .time {
            color: #999;
        }
  
    }
}

.cls {
    position: absolute;
    top: 40px;
    right: 60px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.banners {
    width: 1400px;
    max-width: 100%;
    height: 670px;
    margin: 150px auto;
    .swiper {
        width: 1200px !important;
        height: 670px;
        margin: 0 100px;
        img {
          display: block;
          width: 100%;
          height: 100%;
        }
      }
}

